package org.jeecg.modules.zhima.center.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: oms_company_address
 * @Author: jeecg-boot
 * @Date:   2020-08-27
 * @Version: V1.0
 */
@Data
@TableName("oms_company_address")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="oms_company_address对象", description="oms_company_address")
public class OmsCompanyAddress implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;
	/**地址名称*/
	@Excel(name = "地址名称", width = 15)
    @ApiModelProperty(value = "地址名称")
    private String addressName;
	/**默认发货地址：0->否；1->是*/
	@Excel(name = "默认发货地址：0->否；1->是", width = 15)
    @ApiModelProperty(value = "默认发货地址：0->否；1->是")
    private Integer sendStatus;
	/**是否默认收货地址：0->否；1->是*/
	@Excel(name = "是否默认收货地址：0->否；1->是", width = 15)
    @ApiModelProperty(value = "是否默认收货地址：0->否；1->是")
    private Integer receiveStatus;
	/**收发货人姓名*/
	@Excel(name = "收发货人姓名", width = 15)
    @ApiModelProperty(value = "收发货人姓名")
    private String name;
	/**收货人电话*/
	@Excel(name = "收货人电话", width = 15)
    @ApiModelProperty(value = "收货人电话")
    private String phone;
	/**省/直辖市*/
	@Excel(name = "省/直辖市", width = 15)
    @ApiModelProperty(value = "省/直辖市")
    private String province;
	/**市*/
	@Excel(name = "市", width = 15)
    @ApiModelProperty(value = "市")
    private String city;
	/**区*/
	@Excel(name = "区", width = 15)
    @ApiModelProperty(value = "区")
    private String region;
	/**详细地址*/
	@Excel(name = "详细地址", width = 15)
    @ApiModelProperty(value = "详细地址")
    private String detailAddress;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
}
